﻿CREATE TABLE [dbo].[{0}] (
	[TinyThumbnail] [varbinary](max) NULL,
	[RowGuid] [uniqueidentifier] ROWGUIDCOL NOT NULL,
	[ImageName] [nvarchar](1024) NULL,
	[FileName] [nvarchar](1024) NULL,
	[PixelWidth] [int] NULL,
	[PixelHeight] [int] NULL,
	[DpiX] [int] NULL,
	[DpiY] [int] NULL,
	[Description] [nvarchar](1024) NULL,
	[Thumbnail] [varbinary](max) NULL,
	[Image] [varbinary](max) FILESTREAM NULL,
	[DateTimeOffset] [datetimeoffset](0) NULL,
	[TimeZoneCode] [nchar](2) NULL,
	[CivTimeZoneCode] [nchar](4) NULL,
	[UtcOffset] [float] NULL,
	[Location] [geography] NULL,
	[FilePath] [nvarchar](1024) NULL,
	{1}
	UNIQUE NONCLUSTERED 
	(
		[RowGuid] ASC
	)
	WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
)